package com.lxmes.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质量目标考核对象 nc_quality_goal_assessment
 * 
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityGoalAssessment", description = "质量目标考核对象")    
public class NcQualityGoalAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 目标编号 */
    @Excel(name = "目标编号")
    @ApiModelProperty("目标编号")
    private String goalNumber;

    /** 目标名称 */
    @Excel(name = "目标名称")
    @ApiModelProperty("目标名称")
    private String goalName;

    /** 目标描述 */
    @ApiModelProperty("目标描述")
    private String goalDescription;

    /** 责任人姓名 */
    @Excel(name = "责任人姓名")
    @ApiModelProperty("责任人姓名")
    private String responsiblePersonName;

    /** 责任人工号 */
    @Excel(name = "责任人工号")
    @ApiModelProperty("责任人工号")
    private String responsiblePersonId;

    /** 质量目标类型 */
    @Excel(name = "质量目标类型")
    @ApiModelProperty("质量目标类型")
    private String goalType;

    /** 预期结果 */
    @Excel(name = "预期结果")
    @ApiModelProperty("预期结果")
    private String expectedResult;

    /** 考核周期 */
    @Excel(name = "考核周期")
    @ApiModelProperty("考核周期")
    private String assessmentPeriod;

    /** 实际结果 */
    @Excel(name = "实际结果")
    @ApiModelProperty("实际结果")
    private String actualResult;

    /** 是否符合标准 */
    @Excel(name = "是否符合标准")
    @ApiModelProperty("是否符合标准")
    private String complianceStatus;

    /** 考核得分 */
    @Excel(name = "考核得分")
    @ApiModelProperty("考核得分")
    private BigDecimal assessmentScore;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setGoalNumber(String goalNumber) 
    {
        this.goalNumber = goalNumber;
    }

    public String getGoalNumber() 
    {
        return goalNumber;
    }
    public void setGoalName(String goalName) 
    {
        this.goalName = goalName;
    }

    public String getGoalName() 
    {
        return goalName;
    }
    public void setGoalDescription(String goalDescription) 
    {
        this.goalDescription = goalDescription;
    }

    public String getGoalDescription() 
    {
        return goalDescription;
    }
    public void setResponsiblePersonName(String responsiblePersonName) 
    {
        this.responsiblePersonName = responsiblePersonName;
    }

    public String getResponsiblePersonName() 
    {
        return responsiblePersonName;
    }
    public void setResponsiblePersonId(String responsiblePersonId) 
    {
        this.responsiblePersonId = responsiblePersonId;
    }

    public String getResponsiblePersonId() 
    {
        return responsiblePersonId;
    }
    public void setGoalType(String goalType) 
    {
        this.goalType = goalType;
    }

    public String getGoalType() 
    {
        return goalType;
    }
    public void setExpectedResult(String expectedResult) 
    {
        this.expectedResult = expectedResult;
    }

    public String getExpectedResult() 
    {
        return expectedResult;
    }
    public void setAssessmentPeriod(String assessmentPeriod) 
    {
        this.assessmentPeriod = assessmentPeriod;
    }

    public String getAssessmentPeriod() 
    {
        return assessmentPeriod;
    }
    public void setActualResult(String actualResult) 
    {
        this.actualResult = actualResult;
    }

    public String getActualResult() 
    {
        return actualResult;
    }
    public void setComplianceStatus(String complianceStatus) 
    {
        this.complianceStatus = complianceStatus;
    }

    public String getComplianceStatus() 
    {
        return complianceStatus;
    }
    public void setAssessmentScore(BigDecimal assessmentScore) 
    {
        this.assessmentScore = assessmentScore;
    }

    public BigDecimal getAssessmentScore() 
    {
        return assessmentScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("goalNumber", getGoalNumber())
            .append("goalName", getGoalName())
            .append("goalDescription", getGoalDescription())
            .append("responsiblePersonName", getResponsiblePersonName())
            .append("responsiblePersonId", getResponsiblePersonId())
            .append("goalType", getGoalType())
            .append("expectedResult", getExpectedResult())
            .append("assessmentPeriod", getAssessmentPeriod())
            .append("actualResult", getActualResult())
            .append("complianceStatus", getComplianceStatus())
            .append("assessmentScore", getAssessmentScore())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
